package cn.csust.net2.manager.client.panel;

import com.extjs.gxt.ui.client.Style.Scroll;
import com.extjs.gxt.ui.client.widget.ContentPanel;
import com.extjs.gxt.ui.client.widget.form.FieldSet;
import com.extjs.gxt.ui.client.widget.form.FormPanel;
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
import com.extjs.gxt.ui.client.widget.layout.FlowLayout;

public class PoliticsPanel extends ContentPanel {
	public PoliticsPanel() {
		setHeaderVisible(false);
		setScrollMode(Scroll.AUTO);
		setLayout(new FitLayout());
		
		create();
	}
	
	public void create() {
		FormPanel formPanel = new FormPanel();
		formPanel.setFrame(true);
		formPanel.setHeaderVisible(false);
		formPanel.setWidth("100%");
		formPanel.setLayout(new FlowLayout());
	}
	
	public FieldSet createFieldSetApplyParty() {
		FieldSet fieldSet = new FieldSet();
		fieldSet.setHeading("基本信息");
		fieldSet.setCollapsible(true);
		
		
		return fieldSet;
	}
}
